package com.ruoyi.system.service;

        import com.baomidou.mybatisplus.extension.service.IService;
        import com.ruoyi.system.domain.ShoppingCart;
        import com.ruoyi.system.domain.ShoppingCartDto;
        import org.apache.ibatis.annotations.Param;

        import java.util.List;


public interface ShoppingCartService extends IService<ShoppingCart> {

    List<ShoppingCartDto> getByUserId(Integer user_id);

    ShoppingCart getByUidPid(Integer user_id,Integer product_id);

    int insert(ShoppingCart shoppingCart);

    Integer update(Integer num,Integer shoppingCartId);

    Integer deleteByShoppingCartId(int id);

    ShoppingCart getByShoppingCartId(Integer shoppingCartId);

    Integer updateDelete(Integer shoppingCartId, Integer isexit);

    ShoppingCart getByShoppingCartId1(Integer shoppingCartId);
}
